package p270jp.pxv.android.model.pixiv_sketch;

import android.support.p024v4.media.C0261e;
import android.support.p024v4.media.C0262f;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import p325m0.MutabilityOwnership;

/* compiled from: SketchLivePoint.kt */
/* renamed from: jp.pxv.android.model.pixiv_sketch.SketchLivePoint */
/* loaded from: classes2.dex */
public final class SketchLivePoint {
    public static final int $stable;
    private final long amount;
    private final String name;

    public SketchLivePoint(String str, long j) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        this.name = str;
        this.amount = j;
    }

    public static /* synthetic */ SketchLivePoint copy$default(SketchLivePoint sketchLivePoint, String str, long j, int i, Object obj) {
        if ((i & 1) != 0) {
            str = sketchLivePoint.name;
        }
        if ((i & 2) != 0) {
            j = sketchLivePoint.amount;
        }
        return sketchLivePoint.copy(str, j);
    }

    public final String component1() {
        return this.name;
    }

    public final long component2() {
        return this.amount;
    }

    public final SketchLivePoint copy(String str, long j) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        return new SketchLivePoint(str, j);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SketchLivePoint)) {
            return false;
        }
        SketchLivePoint sketchLivePoint = (SketchLivePoint) obj;
        return MutabilityOwnership.m3749h(this.name, sketchLivePoint.name) && this.amount == sketchLivePoint.amount;
    }

    public final long getAmount() {
        return this.amount;
    }

    public final String getName() {
        return this.name;
    }

    public int hashCode() {
        long j = this.amount;
        return (this.name.hashCode() * 31) + ((int) (j ^ (j >>> 32)));
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("SketchLivePoint(name=");
        c.append(this.name);
        c.append(", amount=");
        return C0262f.m12041a(c, this.amount, ')');
    }
}
